The Carbon Printing Manager provides the
PMGeneral
function as a replacement for the original
PrGeneral
function. However, Apple suggests that you reduce your reliance on these functions because they are not currently supported by all printer drivers, and because they are not likely to be supported in future versions of the Mac OS.
The following table lists
PrGeneral
opcodes that are supported in Carbon. For opcodes that have an associated accessor function, you use that function instead of passing the opcode to
PMGeneral
. For example, use
PMGetOrientation
instead of passing the
getRotnOp
constant to
PMGeneral
. The
PMGeneral
function returns the
kPMNotImplemented
result code for any unsupported opcodes, and for opcodes that now have accessor functions.